<template>
  <PrivacyPopup></PrivacyPopup>
  <ParameterSettingsView :api-control="apiControl" />
</template>

<script setup lang="ts">
import ParameterSettingsView, { type ApiControl } from './parameterSettingsView.vue'
import { getSetting, setHomeApplianceSettings, setSetting } from '@/api/appliance'
import { getWaterHard } from '@/api/common'
import PrivacyPopup from '@/pages/navigator/components/privacyPopup.vue'

const apiControl: ApiControl = {
  getSetting,
  setHomeApplianceSettings,
  setSetting,
  getWaterHard,
}
</script>
